using System.Collections.Generic;

namespace System.Runtime.Remoting.ViewService
{
    public interface IActionsPool
    {
        int Count { get; }
        IRemoteAction this[int i] { get; }
        IEnumerable<IRemoteAction> this[string Name] { get; }
    }

    public interface IPropertiesPool
    {
        int Count { get; }
        IRemoteProperty this[int i] { get; }
        IEnumerable<IRemoteProperty> this[string Name] { get; }
    }

    public interface IEventsPool
    {
        int Count { get; }
        IRemoteEvent this[int i] { get; }
        IEnumerable<IRemoteEvent> this[string Name] { get; }
    }
}